package com.firefightingiot.firefightingiot.model;


import com.baomidou.mybatisplus.annotation.TableName;
import com.firefightingiot.firefightingiot.common.base.BasisEntity;

import java.util.Date;

//@Data
@TableName("business_inspection_plan")//单位检查计划表
public class BusinessInspectionPlan extends BasisEntity {

    private String id;//主键id
    private String brief;//计划概要
    private Date startdate;//检查开始日期
    private Date enddate;//检查结束日期
    private Date starttime;//检查时间:开始时间，如00:00
    private Date endtime;//检查时间:结束时间，如23:59
    private String nocheckWeekday;//一周中星期几不用检查,多个逗号隔开
    private String checkPersonId;//检查人员id
    private String checkPersonName;//检查人员名字
    private String taskId;//相对应的下发任务id
    private String taskName;//任务名称
    private String businessId;//单位id
    private Integer checkCycleNum;//检查周期数目
    private Integer checkCycle;//检查周期：1 天 2 周 3 月 4 季度 5 年
    private Date createtime;//创建时间

    public String getId() {
        return this.getString("id");
    }

    public void setId(String id) {
        this.put("id",id);
    }

    public String getBrief() {
        return this.getString("brief");
    }

    public void setBrief(String brief) {
        this.put("brief",brief);
    }

    public Date getStartdate() {
        return this.getDate("startdate");
    }

    public void setStartdate(Date startdate) {
        this.put("startdate",startdate);
    }

    public Date getEnddate() {
        return this.getDate("enddate");
    }

    public void setEnddate(Date enddate) {
        this.put("enddate",enddate);
    }

    public Date getStarttime() {
        return this.getDate("starttime");
    }

    public void setStarttime(Date starttime) {
        this.put("starttime",starttime);
    }

    public Date getEndtime() {
        return this.getDate("endtime");
    }

    public void setEndtime(Date endtime) {
        this.put("endtime",endtime);
    }

    public String getNocheckWeekday() {
        return this.getString("nocheckWeekday");
    }

    public void setNocheckWeekday(String nocheckWeekday) {
        this.put("nocheckWeekday",nocheckWeekday);
    }

    public String getCheckPersonId() {
        return this.getString("checkPersonId");
    }

    public void setCheckPersonId(String checkPersonId) {
        this.put("checkPersonId",checkPersonId);
    }

    public String getCheckPersonName() {
        return this.getString("checkPersonName");
    }

    public void setCheckPersonName(String checkPersonName) {
        this.put("checkPersonName",checkPersonName);
    }

    public String getTaskId() {
        return this.getString("taskId");
    }

    public void setTaskId(String taskId) {
        this.put("taskId",taskId);
    }

    public String getTaskName() {
        return this.getString("taskName");
    }

    public void setTaskName(String taskName) {
        this.put("taskName",taskName);
    }

    public String getBusinessId() {
        return this.getString("businessId");
    }

    public void setBusinessId(String businessId) {
        this.put("businessId",businessId);
    }

    public Integer getCheckCycleNum() {
        return this.getInteger("checkCycleNum");
    }

    public void setCheckCycleNum(Integer checkCycleNum) {
        this.put("checkCycleNum",checkCycleNum);
    }

    public Integer getCheckCycle() {
        return this.getInteger("checkCycle");
    }

    public void setCheckCycle(Integer checkCycle) {
        this.put("checkCycle",checkCycle);
    }

    public Date getCreatetime() {
        return this.getDate("createtime");
    }

    public void setCreatetime(Date createtime) {
        this.put("createtime",createtime);
    }
}
